import styled from 'styled-components';
import middleCount from '@/assets/images/bg-middle-count.png';
import gczwjl from '@/assets/jhdata/gczwjl.svg';

export const MiddleCountStyled = styled.div`
  .point {
    display: inline-block;
    margin: 0 1rem;
    margin-bottom: 0.13rem;
    background-color: #00ffff;
    width: 0.5rem;
    height: 0.5rem;
  }

  .middle-count {
    display: flex;
    width: 100%;
    .count-left {
      // height: 10rem;
      flex: 8;
      padding-bottom: 15px; 
      background-position: center center;
      background-repeat: no-repeat;
      background-size: 100% 100%;

      display: flex;
      flex-direction: column;

      .left-top {
        margin-top: -0.5rem;
        height: 80%;
        display: flex;
        .left-item {
          flex: 1;
          display: flex;
          background-image: url(${gczwjl});
          height: 86px; 
          background-size: 100%;
          flex-direction: row;
          justify-content: center;
          align-items: center;
          text-align: center;
          @media screen and (width: 2560px) {
            height: 126px;
          }
          .item-text{
            display: flex;
            flex-flow: column;
            text-align: left;
          }
          .item-number-text{
            display: flex;
            align-items: center;
            display: flex;
          .item-1{
            color: #5897C5;
            font-size:12px;
            margin: 5px; 
            padding-top: 10px;
            @media screen and (width: 2560px) {
              margin-top: 16px;
              font-size: 16px;
            }
          }
          }
          .item-number {
            color: #00ffff;
            font-size: 1.6rem;
          }
          .item-icon{
            img{
              width:42px;
              height:42px;
              @media screen and (width: 2560px) {
               scale: 1.3;
              }
            },
          }
          .item-words {
            padding-top: 5px;
            // color: #5897C5;
            color: #FFF;
            font-weight: 400;
            font-size: 14px;
            padding-right: 1rem; 
            text-align: left;
            @media screen and (width: 2560px) {
              font-size: 22px;
            }
          }
          
          }
          .item-0{
            color: #22BCFC;
            font-size: 30px; 
            text-shadow: 0px 4px 20px rgba(34,188,252,0.6); 
            font-weight: bold;
            background-image: linear-gradient(0deg, #21a1fe 20%, #fff 67%); 
            // background-image: -webkit-linear-gradient(0deg, #21a1fe 20%, #fff 67%) text;
            // background-image:linear-gradient(0deg, #21a1fe 20%, #fff 67%) text;
            -webkit-background-clip: text;
            background-clip: text;
            -webkit-text-fill-color: transparent;
            
            text-fill-color: transparent;
            @media screen and (width: 2560px) {
              font-size: 2.1rem;
            }3
          }
        } 

        .left-item1 {
          .item-number {
            border-right: #1988f8 1px solid;
          } 
        }
        .left-item2 {
          .item-number {
            border-right: #1988f8 1px solid;
          } 
        }
        .left-item3 {
          .item-number {
            border-right: #1988f8 1px solid;
          }
          
        }
      }

      .left-bottom {
        margin: 0.5rem 0;
        height: 20%;
        color: #1780ea;

        .bottom-number {
          display: inline-block;
          margin: 0 0.5rem;
          color: #ffb600;
          font-size: 1.3rem;
        }
      }
    }
    .count-right {
      flex: 2;
      position: relative;
      .right-middle {
        position: absolute;
        text-align: center;
        top: 30%;
        left: 35%;
        .right-number {
          color: #00ffff;
          font-size: 1.6rem;
        }
        .right-words {
          margin-top: 0.8rem;
          color: #fff;
        }
      }
    }
  }
  .collectvertical{
    transform: rotate(90deg);
    width: 80%;
    position: absolute;
    right: 20%;
    @media screen and (width: 2560px) {
      width: 56%;
      top: -32%;
      right: 28%;
    }
  }
  .collectRine{
    transform: rotate(180deg);
    width: 65%;
    position: relative;
    right: 28%;
    top: 120%;
    @media screen and (width: 2560px) {
      top: 56%;
      right: 20%;
     }
  }
  .middle-footer {
    margin-top: 1rem;
    height: 2.5rem;
    line-height: 2rem;
    .footer-words1 {
      margin-left: 1rem;
      color: #fff;
      .footer-number1 {
        color: #00ffff;
        font-size: 1.6rem;
        margin: 0 0.5rem;
      }
    }

    .footer-words2 {
      display: inline-block;
      background-image: linear-gradient(
        to right,
        rgba(3, 41, 86, 1) 0%,
        rgba(3, 41, 86, 0.8) 10%,
        rgba(3, 41, 86, 0.4) 40%,
        rgba(3, 41, 86, 0.2) 60%,
        rgba(3, 41, 86, 0) 100%
      );

      margin-left: 1rem;
      color: #1782ee;
      .footer-number2 {
        color: #ffb600;
        font-size: 1.6rem;
        margin: 0 0.5rem;
      }

      .point {
        margin: 0 0.5rem;
        margin-bottom: 0.1rem;
      }
    }
  }
  .mainHeader{
    width: 90%;
    display: flex;
    //  justify-content:center; 
    margin: auto;
    align-items: baseline;
    position: relative ;
    justify-content: space-around;
    .top-line-row {
      position: absolute;
      width: 120%;
      bottom: 30%;
      @media screen and (max-height: 1000px) {
        width: 160%;
      }
    }
    .top1 .top-line-row {
      left: 100%;
      transform: rotate(180deg);
    }
    .top2 .top-line-row {
      right: 100%;
    }
    .top-line-col {
      position: absolute;
      left: 180%;
      bottom: -10%;
      width: 80%;
      transform: rotate(270deg);
      @media screen and (max-height: 1000px) {
        left: 220%;
      }
    }
    .top2 .top-line-col {
      left: -158%;
      @media screen and (max-height: 1000px) {
        left: -198%;
      }
    }
  }
  .mainBody{ 
    width: 100%; display: flex; justify-content: space-around;
     align-items: center; 
     
     @media screen and (width: 2560px) {
      margin: 20px 0;
     }
     @media screen and (height: 1080px) {
      margin: 10px 0px;
     }
     .mainBodyLeft{
      display: flex;
      align-items: center;
     }
     .mainBodyRight{
      display: flex ;
      align-items: center;
     }
     .mainBodyLine{
      top: 11.5rem;
      @media screen and (width: 2560px) {
        top: 15rem;
      } 
    }
    .dzly-line {
      // transform: rotate(180deg);
      position: absolute;
      width: 120%;
      left: 100%;
      bottom: 40%;
      @media screen and (width: 2560px) {
        // width: 19%;
        // bottom: 30%;
        // left: 13%;
      }
    }
    .right1, .right2{
      position: relative;
    }
    .right-line {
      position: absolute;
      width: 120%;
      right: 100%;
      bottom: 40%;
      @media screen and (width: 2560px) {
        bottom: 30%;
      }
    }
    .stly-line {
      position: absolute;
      width: 19%;
      bottom: 20%;
      right: 12.5%;
      @media screen and (width: 2560px) {
        bottom: 30%;
      } 
    }
     }
  }
  
  .mainfloot{ 
    
    width: 100%; display: flex; justify-content: space-between; 
    margin: auto;
    margin-top: 0%;
    align-items: center;
    
    @media screen and (width: 2560px) {
      margin-top: 0%;
      top: -5rem;
     }
    @media screen and (width: 1920px) {
    top: -3.5rem;
    margin-top: 0%;
    }
    .bottom-line-row {
      position: absolute;
      width: 120%;
      bottom: 30%;
      @media screen and (max-height: 1000px) {
        width: 170%;
      }
    }
    .bottom1 .bottom-line-row {
      left: 100%;
      transform: rotate(180deg);
      
    }
    .bottom2 .bottom-line-row {
      right: 100%;
    }
    .bottom-line-col {
      position: absolute;
      left: 180%;
      bottom: 70%;
      width: 80%;
      transform: rotate(90deg);
      @media screen and (max-height: 1000px) {
        left: 230%;
      }
    }
    .bottom2 .bottom-line-col {
      left: -158%;
      @media screen and (max-height: 1000px) {
        left: -208%;
      }
    }
     .mainFlootCenter{
       width: 57%;
        display: flex;      
       margin: auto;
      justify-content: space-between;    
      position: relative ;
    
      .mainFlootLine{
        top: -2rem;
        @media screen and (width: 2560px) {
          top: -2.5rem;
        } 
      }
   
   


     }
  }

`;
